package com.example.leetcode.bfs;

import com.example.leetcode.bfs.common.BFSUtils;

class Solution463 {
    public int islandPerimeter(int[][] grid) {
        return BFSUtils.islandPerimeter(grid);
    }
}

public class leetcode463 {
    public static void main(String[] args) {
        Solution463 solution463 = new Solution463();
        int[][] grid = {{0, 1, 0, 0}, {1, 1, 1, 0}, {0, 1, 0, 0}, {1, 1, 0, 0}};
        System.out.println(solution463.islandPerimeter(grid));
    }
}
